package com.siwei.mes.enums;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;

/**
 * 物料枚举
 *
 * @Description: 配置类型
 * @Version: 1.0
 * @author: yangke
 * @date: 2024/5/30 22:31
 */
@Getter
public enum MaterialsTypeEnum {
    MATERIAL(1, "原材料"),
    CONCRETE(2, "混凝土");
    @ApiModelProperty(value = "配置类型")
    private Integer code;
    @ApiModelProperty(value = "类型名称")
    private String name;

    MaterialsTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
